package com.dddd.blog.blogsp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dddd.blog.blogsp.entity.Blog;

import java.util.List;
import java.util.Map;

/**
 * @author 喵星球的大橘
 */
public interface BlogContentService extends IService<Blog> {

    int addPost(Blog blog);

    int addPostRecords(Map<String,Blog> records);

    List<String> getAuthorList();

    List<Map<String,Object>> getPostList();

    int addPostByMap(Map<String,Object> post);
}
